package com.feri.ikun.service.intf;

import com.feri.ikun.dto.PhoneCodeDto;
import com.feri.ikun.vo.R;

/**
 * .::::.
 * .::::::::.
 * :::::::::::  I && YOU
 * ..:::::::::::'
 * '::::::::::::'
 * .::::::::::
 * '::::::::::::::..
 * ..::::::::::::.
 * ``::::::::::::::::
 * ::::``:::::::::'        .:::.
 * ::::'   ':::::'       .::::::::.
 * .::::'      ::::     .:::::::'::::.
 * .:::'       :::::  .:::::::::' ':::::.
 * .::'        :::::.:::::::::'      ':::::.
 * .::'         ::::::::::::::'         ``::::.
 * ...:::           ::::::::::::'              ``::.
 * ````':.          ':::::::::'                  ::::..
 * '.:::::'                    ':'````..
 * ━━━━━━永无BUG!━━━━━━
 *
 * @Description:
 * @Author: 邢朋辉
 * @Date: 2022/12/7 14:36
 */
public interface SmsService {
    /**
     * 1.发送注册 验证码*/
    R sendRegisterCode(String phone);
    /**
     * 2.发送登录 验证码*/
    R sendLoginCode(String phone);
    /**
     * 3.校验 注册 验证码 */
    R checkRegiterCode(PhoneCodeDto dto);
    /**
     * 4.发送密码找回 验证码*/
    R sendFindCode(String phone);


    R all();

}
